package cn.zhyjohn.paysystem.requset;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @description: 支付宝支付参数
 * @author: JOHN
 * @date: 2019-08-23 11:49
 **/
@Data
@ApiModel("支付宝支付参数")
public class AliPayParams implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiParam(value = "描述")
    @NotBlank(message = "描述不能为空")
    private String body;

    @ApiParam(value = "订单号")
    @NotBlank(message = "订单号不能为空")
    private String orderNo;

    @ApiParam(value = "金额")
    @NotBlank(message = "金额不能为空")
    private String amount;
}
